package com.woniuxy03;

/**
 * @author 作者
 * @create 2025-10-30 16:31
 */
public class Dog extends Animal{

    private int love;

    public Dog(){
//        super();
    }

    public Dog(String name,int age,int love){
        super(name,age);
        this.love=love;
    }

    public int getLove() {
        return love;
    }

    public void setLove(int love) {
        this.love = love;
    }


}
